﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Dota2WebAPI
{
    [Serializable()]
    [System.Xml.Serialization.XmlRoot("result")]
    public class HeroList
    {
        private Hero[] heroes;

        [XmlArray("heroes")]
        [XmlArrayItem("hero", typeof(Hero))]
        public Hero[] Heroes
        {
            get;
            set;
        }

        [System.Xml.Serialization.XmlElement("count")]
        public int Count
        {
            get;
            set;
        }
    }
}
